package com.topnav.mc.admin.entity;

import javax.validation.constraints.NotNull;
import com.baomidou.mybatisplus.annotation.TableName;
import com.topnav.mc.entity.base.BaseEntity;
import com.topnav.mc.validator.group.IAdd;
import lombok.Data;
/**
 * 说明：
 * @类名: UserRole
 * <p>
 *
 * </p>
 * @author   kenny
 * @Date	 2021年12月1日下午5:47:57
 */
@Data
@TableName("mc_user_role")
public class UserRole extends BaseEntity{
	/** */
	private static final long serialVersionUID = -3306722763789616323L;

	@NotNull(message = "不允许为空",groups={IAdd.class})
	private Long userId;
	@NotNull(message = "不允许为空",groups={IAdd.class})
	private Long roleId;

}
